//
//  Context.h
//  HWZB
//
//  Created by 许成雄 on 2017/4/29.
//  Copyright © 2017年 wonders. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AccountInfo.h"
#import "UserInfo.h"

@interface Context : NSObject

+ (instancetype)sharedInstance;

@property (strong, nonatomic) NSString *loginID;                      //用户ID
@property (strong, nonatomic) NSString *mobile;                       //用户电话号码
@property (strong, nonatomic) NSString *accountId;                    //账户ID

//字典信息
@property (strong, nonatomic) NSArray *addressArray;                  //地址
@property (strong, nonatomic) NSArray *bankArray;                     //银行
@property (strong, nonatomic) NSArray *commodityTypeArray;            //商品
@property (strong, nonatomic) NSArray *providerArray;                 //运营商

@property (strong, nonatomic) NSString *selectPackageId;              //选择的套餐ID

@property (strong, nonatomic) AccountInfo *accountInfo;               //账户信息
@property (strong, nonatomic) UserInfo *userInfo;                     //用户信息

//收件人相关
@property (strong, nonatomic) NSString *recipientsName;               //收件人姓名
@property (strong, nonatomic) NSString *recipientsMobile;             //收件人电话
@property (strong, nonatomic) NSString *recipientsZipcode;            //收件人邮编
@property (strong, nonatomic) NSString *recipientsProvinceId;         //收件人地址ProvinceId
@property (strong, nonatomic) NSString *recipientsCityId;             //收件人地址CityId
@property (strong, nonatomic) NSString *recipientsCountyId;           //收件人地址CountyId
@property (strong, nonatomic) NSString *recipientsArea;               //收件人具体地址
@property (strong, nonatomic) NSString *recipientsAddress;            //收件人地址描述


- (BOOL)isLogin;                                                      //是否已经登录

@end
